import { request } from '../request.js'

// 申请接口
const INDEX = {
  // 获取列表数据(分页)
  selectRepaireventlist: param => request('repairevent/selectRepaireventlist', param),
  // 删除
  deleteRepairevent: param => request('repairevent/deleteRepairevent', param),
  // 上传图片
  addCheckWenjian: param => request('repairevent/addCheckWenjian', param),
  // 验收 POST /repairevent/addRepaircheck
  addRepaircheck: param => request('repairevent/addRepaircheck', param),
  // 查询维修报告 POST /repairevent/getRepaircheck
  getRepaircheck: param => request('repairevent/getRepaircheck', param),
  // 查询维修事件详情 POST /repairevent/getRepairevent
  getRepairevent: param => request('repairevent/getRepairevent', param)
}

export default INDEX
